﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml.Serialization;
using System.Xml;

namespace SpeedTestReports.Web
{
     public static class SelectionUtil
    {

        public static string Serialize(Selection sel)
        {

            return String.Empty;
        }

        public static string Deserialize(string selectionXml)
        {

            return String.Empty;
        }
    }

     public class SelectionValue
     {
         private string _name = String.Empty;
         private string _value = String.Empty;

         public string Name
         {
             get
             {
                 return _name;
             }
             set
             {
                 _name = value;
             }
         }

         public string Value
         {
             get
             {
                 return _value;
             }
             set
             {
                 _value = value;
             }
         }
     }

     public class Selection
     {
         private string parameterName = String.Empty;
         private bool isRequired = true;

         public string ParameterName
         {
             get
             {
                 return parameterName;
             }
             set
             {
                 parameterName = value;
             }
         }

         public bool IsRequired
         {
             get
             {
                 return isRequired;
             }
             set
             {
                 isRequired = value;
             }
         }
     }
}
